import { AxiosError } from 'axios';

// 网络请求、响应错误
export interface IFetchError {
    error: AxiosError;
    type: 'request' | 'response';
}

// 请求方法
export type TFetchMethod = 'get' | 'delete' | 'post' | 'put';
